Correlates the elements of two views based on matching keys.
Namespace:
C1.LiveLinq.LiveViewsAssembly: C1.Silverlight.LiveLinq (in C1.Silverlight.LiveLinq.dll)
Syntax
C# |
---|
public View<TResult> Join<TInner, TKey, TResult>( IObservableSource<TInner> inner, Expression<Func<T, TKey>> outerKeySelector, Expression<Func<TInner, TKey>> innerKeySelector, Expression<Func<T, TInner, TResult>> resultSelector ) |
Visual Basic |
---|
Public Function Join(Of TInner, TKey, TResult) ( _ inner As IObservableSource(Of TInner), _ outerKeySelector As Expression(Of Func(Of T, TKey)), _ innerKeySelector As Expression(Of Func(Of TInner, TKey)), _ resultSelector As Expression(Of Func(Of T, TInner, TResult)) _ ) As View(Of TResult) |
Parameters
- inner
- Type: C1.LiveLinq..::..IObservableSource<(Of <(<'TInner>)>)>
The collection (usually, a view) to join to this view.
- outerKeySelector
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, TKey>)>)>>)>)>
A function to extract the join key from each element of this view.
- innerKeySelector
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'TInner, TKey>)>)>>)>)>
A function to extract the join key from each element of the second view.
- resultSelector
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, TInner, TResult>)>)>>)>)>
A function to create a result element from two matching elements.
Type Parameters
- TInner
- The type of the elements of the view to join with this view.
- TKey
- The type of the keys returned by the key selector functions.
- TResult
- The type of the result elements.